//
//  UCBuyHistoryViewController.h
//  PlayBall
//
//  Created by Edward Zhang on 12-5-8.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "JddBaseViewController.h"
#import "JddQueryBuyHistoryOperation.h"
#import "JddQueryBuyHistoryDetailOperation.h"
#import "JddBuyHistorySSQCell.h"
#import "JddOldQueryBuyHistoryDetailOperation.h"

@interface JddUCBuyHistoryViewController : JddBaseViewController<UITableViewDelegate,QueryBuyHistoryOperationDelegate,QueryBuyHistoryDetailOperationDelegate,OldQueryBuyHistoryDetailOperationDelegate,BuyHistorySSQCellDelegate, UITableViewDataSource>{
@private
    NSString *resultString;
    NSString *typeString;
    NSInteger pageNo;
    NSInteger pageSize;
    NSInteger LotID;
    NSMutableArray   *buyDataResult;
    NSString  *buyResult;
    NSString  *typetemp;
    BOOL     hasNext;
    BOOL     hasPrev;
}

SHARED_VIEW_CONTROLLER_DECLARE(JddUCBuyHistoryViewController);

@property (strong, nonatomic) IBOutlet UIScrollView *titleScorllView;
@property (strong, nonatomic) IBOutlet UITableView *ListTable;
@property (strong, nonatomic) IBOutlet UISegmentedControl *seg;
@property (strong, nonatomic) IBOutlet UIButton *prev;
@property (strong, nonatomic) IBOutlet UIButton *next;
@property (strong, nonatomic) IBOutlet UILabel *tipLable;
@property NSInteger LotID;

-(IBAction)selectPrev:(id)sender;
-(IBAction)selectNext:(id)sender;
-(IBAction)selectSegment:(id)sender;
-(void)destoryView;

@end
